home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / apps / 386 / doc / graph.doc < prev    next >
Text File  |  1989-05-31  |  16KB  |  343 lines

  1.                     GRAPHICS
  2.  
  3. Graph menu
  4.  
  5. The REGULAR selection will graph the data with the labels you
  6. have entered in the data entry area along the "X" axis. The
  7. type of graph will depend on the selections you have made in
  8. the "styles" area. Up to 6 variables may be chosen. You may
  9. plot some against the left axis and some against the right
  10. axis. 
  11.  
  12. The HORIZONTAL graph option puts the labels on the "Y" axis
  13. and the values along the "X". You can not have a right side
  14. axis for this type of graph.
  15. "XY" graphs allow up to 6 pairs of variables to be used. You
  16. must select your data a pair at a time. The first one chosen
  17. of each pair will be the "X" value of the point and the
  18. second will be the "Y". You may repeat the same selection
  19. between pairs so that you can have several variables graphed
  20. against the same "X". There are no XY bar graphs. You can 
  21. not have a right side axis.
  22.  
  23. HI LO graphs are stock market graphs. The first 3 variables
  24. chosen will be displayed as a high low close type of graph.
  25. The remainder of the 6 possible graphs will be shown as 
  26. selected on the styles section. You can use right side axis
  27. which allows you to graph volume on the same graph as stock 
  28. prices. You can have a hi low graph with only 2 variables.
  29. In this case the data represents simply a high and low but
  30. no close.
  31.  
  32. PIE CHARTS. You may have up to 4 pies on the screen. Simply 
  33. specify the correct number of variables. A special case
  34. exists for 2 pie charts if you have selected "component pies"
  35. from the features menu. In this case the second variable will
  36. be assumed to be an explosion of the first pie segment. 
  37.  
  38. BUBBLE GRAPHS require 3 variables to be chosen. The first
  39. specifies the "X" value of the point. The second specifies the
  40. "Y" value of the point and the third specifies the relative 
  41. area of the bubble.
  42.  
  43. OPPOSED  BARS  require 2 variables  which  must  be positive.
  44. If logs are on they are ignored. Opposed bars  are good for
  45. comparing similar  data  against one another.  an example
  46. might be the population of the  U.S.A.   by  age  group
  47. where  one   variable represents  males  and  another
  48. females.  The  key feature of opposed bars is that there is
  49. no  offset between  the  variables.  One  peculiarity  of
  50. the implementation  comes up in rescaling.  The  second 
  51. variable  is  treated  as  being  negative  by  the program.
  52. Thus  the  minimum value is  shown  as  a negative.  This is
  53. a requirement so ensure that you enter  a negative for the
  54. minimum,  even though  it will be printed as a positive.
  55.  
  56. FLOATING  BARS  require 2 variables for each  bar plotted.
  57. The  first represents the minimum of the floating bar and
  58. the second the top. Like XY graphs you will continue to be
  59. prompted for input  until you  fail to enter 2 variables.
  60. This is not an  XY graph however. The X-axis is scaled by
  61. the labels just as for a regular graph.
  62.  
  63. HORIZONTAL  FLOATING BARS are the same  as  regular floating
  64. bars  except  that  the  graph  is   done horizontally.
  65.  
  66. POLAR PLOTS are a variation on XY graphs. Selection 
  67. procedures are the same. The difference is that the variables
  68. chosen give the angle in radians and distance of the point
  69. rather than "X" and "Y" respectively.
  70.  
  71. 3D BARS allow for up to 18 points in each factor. The data
  72. is displayed with a three  dimensional  aspect. The
  73. variables are displayed behind one another  with the first
  74. variable chosen being the front  variable. In some cases
  75. data points will not be seen since  the column will be
  76. entirely hidden. No right side scaling may be used.
  77.  
  78. STAT GRAF
  79.  
  80. These procedures are particular graph types used for analysis. 
  81.  
  82. A STAR GRAPH produces a chart describing the physical values
  83. of several variables at each of several points. 
  84. There should be no negative values. 
  85. For each point a series of lines are drawn starting at 
  86. 3 O'clock and then working counterclock wise around the 
  87. point. The length of the lines represents how high the value
  88. of the variable is for that point. The minimum value of the
  89. line is set to 20 percent of the maximum.
  90.  
  91. A SUN RAY GRAPH is similar in concept. In this case each line
  92. is the same length but the line is cut at a value indicating
  93. relative length.If the line is cut exactly in the middle then
  94. the point has a value for that variable which is at the mean
  95. for all points. 
  96.  
  97. A BOX WHISKER GRAPH requires the selection of a variable and
  98. a category variable. The box and whisker are then drawn for
  99. values from the first variable where the categorical variable
  100. is at a certain level. The box and whisker is a regular 
  101. style graph. The box has it's top valu at the 3rd quartile
  102. point and its bottom at the first quartile. The box is
  103. bisected by a line at the median. Extending out from the box
  104. at top and bottom are the whiskers. These reach out to the 
  105. highest and lowest point in the data variable for a given
  106. level of the categorical variable.
  107.  
  108. The NOTCHED BOX WHISKER is the same except that there is an
  109. additional piece of information given. There is a notch in
  110. the box which covers a 95 percent confidence limit on the
  111. median. The depth of the notch is proportional to the number
  112. of  elements in  the  variable  with  that  value  of  the 
  113. categorical variable.
  114.  
  115. XYZ graphs are similar to XY graphs.  The main difference is 
  116. that there are three coordinate axes,  and you must pick the 
  117. variables in threes. Another change is the lack of a legend. 
  118. No legend is put on the right of the graph to allow for  the 
  119. extra  width  taken  by the  three  dimensional  graph.  For 
  120. labelling you will need to use the custom labelling feature.
  121. For XYZ graphs you may select point,  line and bar  options. 
  122. The  bar  option  does not actually  produce  bars  in  this 
  123. situation.  Instead,  a  perpendicular is dropped to the  XY 
  124. plain.  This  gives a better indicator of the height of  the 
  125. point.
  126.  
  127. Z function plots are three dimensional graphs of a  function 
  128. of  the  form Z=f(X,Y).  You will be asked  to  specify  the 
  129. graphing  limits for X,Y and Z.  You will then be  asked  to 
  130. specify the equation and then the number of steps to make in 
  131. each  of the X and Y directions.  The greater the number  of 
  132. steps,  the  finer the graph but also the slower the  graph. 
  133. With 50 steps in each direction there are 5000 calls to  the 
  134. parser  and this can be a slow process.  After  setting  the 
  135. parameters  you will be asked whether you want hidden  lines 
  136. or  not.  The  default  is for no hidden lines  (ie  a  wire 
  137. frame).
  138.  
  139. The next option is a combination of the previous 2. The main 
  140. use  for  this  option is to examine actual  points  from  a 
  141. regression against the 3D regression surface provided by the 
  142. computer.
  143.  
  144. The  Z Data plot assumes that all of the data in the  editor 
  145. represents  Z values for particular combinations of X and  Y 
  146. which  are  uniformally spaced.  It does not know  what  the 
  147. minimum and maximum X and Y values are. You will be asked to 
  148. specify the maximum and minimum for X,Y, and Z just as for a 
  149. function  plot.  You will not need to specify the number  of 
  150. steps  since  that  is  determined by  the  amount  of  data 
  151. available.  As an example consider a select mortality  table 
  152. as  used by an insurance company.  There would be  rates  of 
  153. mortality  for each issue age and for each of the  first  15 
  154. durations since the policy was issued. If we were to examine 
  155. mortality rates for ages 15 to 75 and for durations 1 to  15 
  156. the  data  would be set up as follows.  There  would  be  15 
  157. columns in use.  Each row in the column would represent  the 
  158. mortality  level  at a given age for  that  duration.  There 
  159. would be 61 rows to handle the various ages.  The number  of 
  160. steps would internally be set to 60 and 14 with this data.
  161.  
  162. For  all  of the XYZ graph types the "right side"  title  is 
  163. used to label the "Y" axis.
  164.  
  165. SETTINGS
  166.  
  167. The settings menu allows you to define how the graph will 
  168. look.
  169.  
  170. The palette setting allows you to set the palette for the
  171. graph
  172.  
  173. User  Fill allows you to define up to 6 fill  patterns  for 
  174. use by the program. These may be saved and reloaded for the 
  175. next use of B/STAT. They are not compatable with fill files 
  176. from DEGAS.
  177.  
  178. Styles allows setting the line style fill pattern and point
  179. style. It also allows you to turn on lines bars or points.
  180. All 3 can be on for any given variable.
  181.  
  182. Pie Style allows you to set colors and fill styles for pies
  183. as well as whether a slice is exploded.
  184.  
  185. Background allows for setting a background fill pattern over
  186. which the graph is drawn. There are two types of fill, Full
  187. and Partial. For Full the entire graph area is filled in.
  188. For Partial only the part of the  graph between the axis
  189. lines is filled  in. The selection of fill style is the same
  190. as for pie or bar styles.
  191.  
  192. Axes allows turning scaling or axes on and off as well as
  193. selecting the color to be used. Tic marks may be turned on or set 
  194. to go in or out.
  195.  
  196. Titles allows you to enter the titles to be used on the graph.
  197.  
  198. Title Fonts allows you to select the color and style of the
  199. titles and scales used in the graph.
  200.  
  201. Tic size allows the setting of major and minor tic lengths.
  202. Features
  203.  
  204. Boxed means that for regular and horizontal graphs a line
  205. will be drawn to close in the graph.
  206. Rt side axis will allow a right side axis on regular graphs.
  207.  
  208. Stacked will give stacked bar graphs and area graphs for
  209. line graphs.
  210.  
  211. Filled will cause the area between lines to be filled in.
  212. It can not be combined with stacked.
  213.  
  214. Vals above will cause the value of the point to be 
  215. displayed above it for regular and horizontal graphs.
  216. For Pie charts the values will be printed below the pie label.
  217.  
  218. Legend will cause the legend for each variable to be
  219. displayed. If turned off then the graph will be larger but
  220. you will have to use custom labelling to define what the
  221. variables are.
  222.  
  223. Log X causes the X axis to be on a LOG basis.
  224.  
  225. Log Y does the same for the Y axis.
  226.  
  227. Proportional Pie means that if more than 1 pie is shown
  228. on the screen at once there relative sizes will be
  229. determined by the total of the values in each pie. This
  230. is quite usefull when comparing 4 years of sales data.
  231.  
  232. Component Pie. When 2 variables are selected for a pie
  233. graph this option causes the second variable to be taken
  234. as a subset of the first pie sector. The values in the
  235. second variable are displayed as a stacked bar set to the
  236. right of the pie.
  237.  
  238. Pie  Percent  will cause the  percentage  each  pie slice
  239. represents to be printed in the  pie  slice. The  percent
  240. is rounded to the nearest whole percentage.
  241.  
  242. Redraw will redraw the graph if the reset graph option is 
  243. off.
  244.  
  245.  
  246. Grids
  247. These two options turn on horizontal and vertical grids and the 
  248. Z grids.
  249. There is also a "zero line" option to ensure that  a line
  250. is drawn at the zero point even if  no grids are displayed.
  251.  
  252. While  a graph is on screen labels may be added  by double
  253. clicking where you want them to appear.  You will  be
  254. required to select the font and size for the label just
  255. as for titles. You have the  option of adding an arrow.
  256. Simply click where you want it to  point. These labels 
  257. may be  dragged on the screen. To remove a floating label,
  258. double click on the label. You are now asked "What to Change?". 
  259. This can be either font, text, or arrow. You can remove
  260. the label by selecting text and erasing the existing  text.
  261. A label with no text is simply removed from the list
  262. of labels. If you choose arrow you can either add an
  263. arrow if one does not exist or move the anchor point  for
  264. an existing arrow, or remove the arrow. 
  265. You may also resize the graph. This is done by placing
  266. the mouse in the lower right corner of the graph and then
  267. draging the mouse. The graph can be reduced to 1/4 its 
  268. original size. You may also reposition the smaller 
  269. graph by holding down the mouse button while the mouse is
  270. inside the axes.
  271.  
  272. The  menu bar displayed while a graph is on screen allows
  273. you to save or print the graph. The "Save" menu items
  274. allow three forms of saving the screen image. The first
  275. is as a DEGAS compatable uncompressed image. The second is
  276. as a ".IMG"  file which can be used by desktop publishing
  277. programs. 
  278. With a color system you will be asked if you want  a color
  279. IMG file. Many desk top publishing programs can not handle
  280. a color file so you can put out a monochrome version of
  281. the screen. 
  282. The  IMG files produced by BSTAT are compatable  with IMG
  283. files on MSDOS machines. They can therefore be used with
  284. Wordperfect version 5.0 on these  machines. Note that IMG
  285. files are bit image files. The quality of reproduction is
  286. not as good as using a GDOS  print to the same physical
  287. size area.  
  288. The third choice is as a metafile. Metafiles can be read  by 
  289. programs such as Easy Draw and many desktop  publishing 
  290. programs such as Pagestream, Calamus and the Timeworks Desktop 
  291. Publisher (TWDTP). To read the files into TWDTP you will need to select 
  292. the "GEM DRAW" option in TWDTP.  
  293.  
  294. When printing you have three options. First you can print
  295. the screen using the built in  Atari screen dump utility or
  296. one which you have loaded yourself. The  second option is 
  297. usefull only for 9 pin Epson printers. This option uses the
  298. Epson plotter mode to ensure properly scaled pictures. It
  299. also  only works with the monochrome monitor. 
  300. The third choice uses GDOS if you have it to plot to the
  301. printer. The text on the graph will not usually look quite
  302. the same as on the screen since many GDOS fonts are 
  303. proportional and the default screen fonts are not. Also
  304. some of the printer fonts are not quite the same size as
  305. the screen fonts.
  306. The remaining choices are to adjust GDOS printing. 
  307. The GDOS settings item allows you to decide on the width
  308. and height of the graph on the paper. Various GDOS drivers
  309. as well as printers will start graphs in different places.
  310. Thus setting the starting position offset to be zero may not
  311. put the graph at exactly the edge of the paper. Many Epson
  312. clones start graphics 1/4 of an inch from the edge. You should 
  313. therefore do a GDOS print of a graph with the standard settings.
  314. Before doing the print turn on "GDOS box". This will result 
  315. in a box being drawn around the edges of the graphing area. 
  316. You can then use the resulting positions to establish a 
  317. vertical and horizontal offset for your particular printer.
  318. The "GDOS Device" Selection allows you to set the device ID 
  319. that the program uses to that which you have set in your 
  320. ASSIGN.SYS file. Most users will never have to use this 
  321. setting. The default in B/STAT is device 21 which  is the 
  322. usual standard. This choice is for those lucky individuals 
  323. who have more than one printer in use or who have a plotter 
  324. which is supported by GDOS.
  325. "GDOS Rotate" allows you to print the graph in landscape mode 
  326. as opposed to the normal portrait orientation.
  327.  
  328. The miscellaneous menu contains only one unusual feature. The 
  329. "Keep  Labels" option when chosen (the default) ensures  that 
  330. the  custom labels will be kept when you return to the  graph 
  331. selection screen. To get rid of them all, simply deselect the 
  332. option.
  333. Also on the miscellaneous menu is the selection for "Legend 
  334. Box". When this is selected the legend may be dragged around on 
  335. the graph until you release the button. If the option has 
  336. already been selected then reselecting it will result in 
  337. returning to the default setting. When selected you may further 
  338. move the legend by selecting "Move Legend". 
  339.  
  340. Reset Graph is normally set. If off then you can redisplay the 
  341. graph from the previous menu simply by doing a redraw.
  342.  
  343.